package com.springbootbooks.dao;

import com.springbootbooks.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
     /**
         * @Description: 注册用户
         * @Date: 2022/1/21
         * @time: 20:17
         */
    int inertUser(User user);
     /**
         * @Description: 根据电话查询用户
         * @Author: lijiafen
         * @Date: 2022/1/21
         * @time: 20:17
         */
    List<User> selectUserByphone(String phone);
}
